<?php echo CYui::init(true, true); ?>
<h2>Other function</h2>
<table class="dataGrid">
    <tr>
        <th colspan="4"><h3>Init</h3></th>
    </tr>
    <tr>
        <th>Param</th>
        <th>Type</th>
        <th>Description</th>
        <th>Required / default</th>
    </tr>
    <tr>
        <td><b>$useLocalHosting</b></td>
        <td>boolean</td>
        <td>load YUI script from local site or direct from YUI-hosting</td>
        <td align="center">true</td>
    </tr>
    <tr>
        <td><b>$useCodeHighlight</b></td>
        <td>boolean</td>
        <td>support for code highlighting function</td>
        <td align="center">false</td>
    </tr>
    <tr>
        <td><b>$ajaxTimeoutPeriod</b></td>
        <td>integer</td>
        <td>timeout period for ajax call</td>
        <td align="center">5000 ms</td>
    </tr>
    <tr>
        <td colspan="4" align="center">
            <?php echo CYui::codeHighlight(' echo CYui::init();', 'php'); ?>
        </td>
    </tr>
</table>
<br>
<table class="dataGrid">
    <tr>
        <th colspan="4"><h3>codeHighlight</h3></th>
    </tr>
    <tr>
        <th>Param</th>
        <th>Type</th>
        <th>Description</th>
        <th>Required / default</th>
    </tr>
    <tr>
        <td><b>$str</b></td>
        <td>string</td>
        <td>string for highlight</td>
        <td align="center">+</td>
    </tr>
    <tr>
        <td><b>$language</b></td>
        <td>string</td>
        <td>language</td>
        <td align="center">+</td>
    </tr>
    <tr>
        <td colspan="4" align="center">
            <?php echo CYui::codeHighlight(' echo CYui::codeHighlight(`echo $abc;`, `php`);', 'php'); ?>
        </td>
    </tr>
</table>
<br>
<table class="dataGrid">
    <tr>
        <th colspan="4"><h3>buildAjaxOptions</h3></th>
    </tr>
    <tr>
        <th>Param</th>
        <th>Type</th>
        <th>Description</th>
        <th>Required / default</th>
    </tr>
    <tr>
        <td><b>$responseUrl</b></td>
        <td>string</td>
        <td>url for get response content</td>
        <td align="center">+</td>
    </tr>
    <tr>
        <td><b>$reciverId</b></td>
        <td>string</td>
        <td>html element for update</td>
        <td align="center">+</td>
    </tr>
    <tr>
        <td colspan="4" align="center">
            <?php echo CYui::codeHighlight(' $ajaxParams = CYui::buildAjaxOptions(`/post/list`, `divPosts`);', 'php'); ?>
        </td>
    </tr>
</table>